package com.glory.dgcpcpda.adapter;

import android.text.Editable;
import android.text.TextWatcher;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.glory.dgcpcpda.R;
import com.glory.dgcpcpda.base.MyApp;
import com.glory.dgcpcpda.entity.LotInfoEntity;
import com.glory.dgcpcpda.entity.LotSplitEntity;
import com.glory.dgcpcpda.entity.ScrapEntity;
import com.pda.platform.ui.ui_pdaplatform.utils_public.FreeApi_LogUtils;
import com.pda.platform.ui.ui_pdaplatform.utils_public.FreeApi_ToastUtils;

import java.util.ArrayList;
import java.util.List;

public class DivideLotAdapter extends BaseQuickAdapter<LotInfoEntity.LotBean, BaseViewHolder> {

   public DivideLotAdapter(@Nullable List<LotInfoEntity.LotBean> data) {
      super(R.layout.item_divde_lot,data);
   }

   @Override
   protected void convert(BaseViewHolder helper, LotInfoEntity.LotBean item) {
      helper.setIsRecyclable(false);
      helper.setText(R.id.tvLotID,item.getLOTID());
      helper.setText(R.id.tvMainQty,item.getMAINQTY());
      helper.setText(R.id.tvSubQty,item.getSUBQTY());
   }
}
